# -*- coding: utf-8 -*-

import json
filename = '../jsonfiles/data.json' 
id = 1
with open( filename,'r') as f:
	for line in f:
		s = json.loads(line)
		if s['price'] != 0:
			print '%d, %s, "%s", "%s"' %(id, s['price'], s['time'], s['date'])
			id += 1